<td>
  <ul class="sf_admin_td_actions">
    <?php echo $helper->linkToEdit($teacher, array(  'params' =>   array(  ),  'class_suffix' => 'edit',  'label' => 'Edit',)) ?>
    <li class="sf_admin_action_history_records">
      <?php echo link_to(__('History records', array(), 'messages'), 'teacher/ListHistoryRecords?intg_identity='.$teacher->getIntgIdentity(), array()) ?>
    </li>
	<li class="sf_admin_action_approve_hang">
	<?php if($teacher->getIsHanged() && $teacher->getHangeStatus() == TeacherTable::HANG_STATUS_PENDING){?>    
      <?php echo link_to(__('Approve Hang', array(), 'messages'), 'teacher/approveHang?intg_identity='.$teacher->getIntgIdentity(), array()) ?>    
	<?php }elseif($teacher->getIsHanged() && $teacher->getHangeStatus() == TeacherTable::HANG_STATUS_APPROVED){?>      
		<?php echo __('Already Hanged')?><br/>
		<?php echo link_to(__('Stop Hang', array(), 'messages'), 'teacher/stopHang?intg_identity='.$teacher->getIntgIdentity(), array()) ?>    
	<?php }elseif($teacher->getIsHanged() && $teacher->getHangeStatus() == TeacherTable::HANG_STATUS_REQUEST_STOP_HANGING){?>    
	  <?php echo __('Hange Stop requested')?><br/> 
      <?php echo link_to(__('Stop Hang', array(), 'messages'), 'teacher/stopHang?intg_identity='.$teacher->getIntgIdentity(), array()) ?>    
	<?php }?>
	</li>
  </ul>
</td>
